﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Dmtp.Rpc;
using TouchSocket.Rpc;

namespace Server
{
    public class MyRpcServer: RpcServer, IRPC
    {
        public bool M1(string account, string password)
        {
            if (account == "123" && password == "abc")
            {
                return true;
            }

            return false;
        }

 
        public void M2(string account, string password)
        {
            
        }
    
        public bool M3()
        {
            return false;
        }

     
        public void M4()
        {
           
        }
    }
}
